package edu.ustb.aur.testresultpackage;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import edu.ustb.aur.mapper.TestResultMapper;
import org.springframework.stereotype.Service;

/**
 * @author EddieShi
 * @create 2022-12-28 15:54
 *
 */
@Service
public class TestResultServiceImpl extends ServiceImpl<TestResultMapper, TestResult> implements TestResultService{
    @Override
    public boolean insertTestResult(TestResult testResult) {
        int i = baseMapper.insert(testResult);
        return i == 1;
    }
}
